
import { staffHttp, Method } from '@/utils/staff_request.js';
import { http } from '@/utils/request.js';
import api from '@/config/api.js';


export function getStrangerList(params){
	return staffHttp.request({
	  url: `${api.url}/admin/strangerList`,
	  method: Method.GET,
		params
	});
}
export function getStrangerInfo(params){
	return staffHttp.request({
	  url: `${api.url}/admin/strangerInfo`,
	  method: Method.GET,
    params
	});
}
export function strangerAudit(params){
	return staffHttp.request({
	  url: `${api.url}/admin/strangerAudit`,
	  method: Method.POST,
    data:params
	});
}
export function staffOff(){
	return staffHttp.request({
	  url: `${api.url}/admin/staffOff`,
	  method: Method.POST,
	});
}
export function staffOn(){
	return staffHttp.request({
	  url: `${api.url}/admin/staffOn`,
	  method: Method.POST,
	});
}